<template>
	<view class="help">
		<view class="title">{{dialogTitle}}</view>
		<image
      mode="widthFix"
      class="closeIcon"
      @click="onHandleClose"
      src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/close.png"
    />
			<view class="item">
				<view class="image">
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/circle.png"
						mode="scaleToFill"
					/>
					
					<view class="pointer"></view>
				</view>
				<view class="text">
					<text class="text-item"><text class="mark">点击</text>屏幕旋转方块</text>
				</view>
			</view>
			<view class="item">
				<view class="image">
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/left.png"
						mode="scaleToFill"
					/>
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/right.png"
						mode="scaleToFill"
					/>
					<view class="pointer"></view>
				</view>
				<div class="text">
					<text class="text-item"><text class="mark">左右滑</text>拖动方块</text>
				</div>
			</view>
			<view class="item">
				<view class="image top-bottom">
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/top.png"
						mode="scaleToFill"
					/>
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/top.png"
						mode="scaleToFill"
					/>
					
					<view class="pointer"></view>
				</view>
				<view class="text">
					<text class="text-item"><text class="mark">下扫</text>快速扔下方块</text>
					<text class="text-item"><text class="mark">上扫</text>暂存当前块</text>
				</view>
				
			</view>
			<view class="item">
				<view class="image">
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/warning.png"
						mode="scaleToFill"
					/>
				</view>
				<view class="text">
					<text class="text-item"><text class="mark">一次消两行</text>以上进攻对手</text>
					<text class="text-item"><text class="mark">上扫</text>暂存当前块</text>
				</view>
			</view>
			<view class="item">
				<view class="image">
					<image
						src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/warning.png"
						mode="scaleToFill"
					/>
				</view>
				<view class="text">
					<text class="text-item"><text class="mark">巧妙使用上滑暂存</text></text>
					<text class="text-item"><text class="mark">可打出</text>暂超级COMBO连击</text>
				</view>
			</view>
    </view>
	</view>
</template>
<script>
export default {
	props: {
		dialogTitle: {
			type: String,
			default: ''
		}
	},
	methods: {
		onHandleClose() {
			this.$emit('onCloseClick')
		}
	}
}
</script>

<style scoped>
.help {
	background-image: linear-gradient(to bottom, #82e4fd, #79defe);
	position: relative;
	border-radius: 20rpx;
}
.help .title {
	height: 140rpx;
	line-height: 140rpx;
	background: url('https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/bg.png');
	background-size: 100% 100%;
	border-top-left-radius: 20rpx;
	font-size: 50rpx;
	color: #fff;
	font-weight: 800;
	letter-spacing: 8rpx;
	text-shadow: #000 0 0 3rpx;
}
.help image{
	width: 80rpx;
	height: 80rpx;
}
.help .item {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20rpx 0;
	padding: 20rpx;
}
view.image {
	width: 300rpx;
	display: flex;
	justify-content: center;
	position: relative;
}
view.image.top-bottom {
	flex-direction: column;
	align-items: center;
}
view.text {
	width: 100%;
	color: #0673b1;
	font-size: 30rpx;
	font-weight: 600;
}
.item .mark {
	color: red;
}
.text .text-item {
	display: block;
	line-height: 50rpx;
}
.help .closeIcon {
	width: 60rpx;
	height: 60rpx;
	position: absolute;
	top: -20rpx;
	right: -20rpx;
}
.pointer {
	width: 80rpx;
	height: 80rpx;
	position: absolute;
	top: 50rpx;
	left: 80rpx;
	background: url('https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/help/pointer.png');
	background-size: 100% 100%;
}
</style>